/*
 * @Author: wushikang
 * @Date: 2021-10-24 12:21:20
 * @LastEditors: wushikang
 * @LastEditTime: 2021-10-24 19:05:14
 * @Description: 
 */
import request from '@/utils/request'
export default {
    namespaced: true,
    state(){
       return {
           employee:{},
       }
    },
    mutations:{
           SET_EVALUE(state,payload){
                state.employee=payload;  
           },
    },
    actions:{
       async findAllBaseUser({commit},payload){
         let res= await request.get('/baseUser/pageQuery',{
            params:{
                ...payload
            }
         })
        commit('SET_EVALUE',res.data);
        },
    },
}